# librs
file(GLOB RS_CPP_SRCS *.cpp)
list(APPEND RS_CPP_SRCS portability/platforms/posix/Condition)
list(APPEND RS_CPP_SRCS portability/platforms/posix/Mutex.cpp)
list(APPEND RS_CPP_SRCS portability/platforms/posix/Semaphore.cpp)
list(APPEND RS_CPP_SRCS portability/platforms/posix/ThreadLocalPtr.cpp)
list(APPEND RS_CPP_SRCS portability/platforms/posix/Thread.cpp)
add_library(rs ${RS_CPP_SRCS})

# other libraries
add_subdirectory(application)
add_subdirectory(graphics)
add_subdirectory(math)
add_subdirectory(reflection)
add_subdirectory(unittest)

